package com.emip.service;

import java.util.Date;
import java.util.List;

import com.emip.bean.HourStoreBean;

public interface HourStoreService {
	public HourStoreBean merge(HourStoreBean store);
	public List<HourStoreBean> getByTimespan(String startDate, String endDate, String[] itemIds, String siteId);
	public List<HourStoreBean> getByTimespan(String startDate, String endDate, String[] itemIds, String siteId, int page, int size);
	public long getCount(String startDate, String endDate, String[] itemIds, String siteId);
	public HourStoreBean findById(int id);
	Date getLastDate(String itemId, String siteId);
	public List<Date> getSEDate(String startDate, String endDate);
	public List<HourStoreBean> getLastNItemsBySiteID(String siteId, String itemId, int num);
	public Object[] getStatistics(String startDate, String endDate, String itemIds, String siteId);
	public HourStoreBean findByHour(String date, String siteId, String itemId);
}
